home *** CD-ROM | disk | FTP | other *** search
- Path: satisfy.kiae.su!rich!usenet
- From: Andrew Sapozhnikov <sapa@hq.icb.chel.su>
- Newsgroups: comp.lang.c++
- Subject: Re: [Q] Watcom (DOS4GW) free memory
- Date: Tue, 19 Mar 1996 14:46:41 +0000
- Organization: Chelyabinsk PTT NIC
- Message-ID: <314EC8D1.41C67EA6@hq.icb.chel.su>
- References: <dindiaDoDLtp.IqB@netcom.com>
- NNTP-Posting-Host: localhost
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; BSD/386 1.1 i386)
-
- Hello!
-
- John Paul D'India wrote:
- :> I am trying to figure out how much free memory my program can access under
- :> DOS4GW. I opened up the "programmer's guide" help, found a nice section
- :> titled "determining free memory under DOS4GW", and when I ran the little
- :> example program, it gave me a whole big long list of information (luckily
- :> at the top was largest available block - which looked close if not exact).
-
- take it easy, use functions _memavl() and _memmax() - I think that's enought
- it work under flat memory model under dos4g/gw/gw pro and pmode/w as like as
- under free dos in small model...
- for more info see WHELP CLIB...
-
- Best regards, Sapa.
- sapa@hq.icb.chel.su
-